package com.yohann.designPattern.facade;

/**
 * @author Yohann
 */
public class DVDPlayer {
    private static DVDPlayer ourInstance = new DVDPlayer();

    public static DVDPlayer getInstance() {
        return ourInstance;
    }

    private DVDPlayer() {
    }

    public void on() {
        System.out.println("DVD ON");
    }

    public void off() {
        System.out.println("DVD OFF");
    }

    public void play() {
        System.out.println("DVD IS PLAYING");
    }

    public void pause() {
        System.out.println("DVD IS pause");
    }
}
